import Layout from '@/layout'
export default {
  path: '/attendances',
  component: Layout, // 组件
  // 配置二级路的路由表
  children: [{
    name: 'attendances',
    path: '',
    component: () => import('@/views/attendances'),
    // 路由元信息
    meta: {
      title: '考勤',
      icon: 'skill'
    }
  },
  {
    path: 'archiving',
    component: () => import('@/views/attendances/historical'),
    name: 'archiving',
    hidden: true,
    meta: {
      title: '归档'
    }
  },
  {
    path: 'report/:month',
    component: () => import('@/views/attendances/report'),
    name: 'reports',
    hidden: true,
    meta: {
      title: '报表'
    }
  }
  ]
}
